

<div class="left">

    <div class="banner">
        <div class="title">
	    <?php
	    if (isset($search)) {
		?>
    	    Search
	    <?php } else { ?>
    	    Archived advertisers
	    <?php } ?>
	</div>

	<?php if (!empty($featureAds) && !isset($_GET['isMyPost'])) : ?>

    	<div id="jslidernews2" class="lof-slidecontent" style="width:700; height:400px;">


    	    <div class="button-previous">Previous</div>


    	    <div class="main-slider-content" style="width:700; height:400px;">
    		<div class="sliders-wrapper" style="width: 700px;">
    		    <ul class="sliders-wrap-inner lof-opacity">
			    <?php foreach ($featureAds as $ad) : ?>

				<li style="width: 700px; opacity: 1; z-index: 3;">
				    <a href="<?php echo str_replace("+", "_", $ad->getFrontendUrl()) ?>">
					<img src="<?php echo $ad->getFeatureImgUrl() ?>" title="<?php echo h($ad->title) ?>" />
					<div class="slider-description" style="height: 60px;">
					    <div class="description-wrapper">
						<h4><?php echo h($ad->title) ?></h4>
						<p><?php echo h($ad->content, 90) ?></p>
					    </div>
					</div>
				    </a>
				</li>

			    <?php endforeach; ?>

    		    </ul>
    		</div>
    	    </div>


    	    <div class="button-next">Next</div>
    	</div>
	<?php endif; ?>

    </div><!--banner-->

    <div class="list-pro">
	<?php
	$this->widget('bootstrap.widgets.TbListView', array(
	    'dataProvider' => $dataProvider,
	    'itemView' => '_view',
	    'itemsTagName' => 'ul'
	));
	?>
    </div><!--list-pro-->

</div><!--left-->


<div class="right">
    <?php
    if (isset($_GET['isMyPost'])) {
	$this->widget('application.widgets.SearchBox', array('isMyPost' => 1));
    } else {
	$this->widget('application.widgets.SearchBox');
    }
    ?>

    <?php $this->widget('application.widgets.Calendar'); ?>    
    <?php $this->widget('application.widgets.EventCalendar') ?>
</div><!--right-->
